package edu.cuit.zhuyimeng.framework.common.result;

import lombok.Data;

/**
 * 状态码对象
 */
@Data
public class CodeWrapper {

    /**
     * 状态码
     */
    private final Integer code;

    /**
     * 提示信息
     */
    private final String msg;

    public CodeWrapper(Integer code, String message) {
        this.code = code;
        this.msg = message;
    }

}
